{if $cross_search|@count > 0}
{assign var="cnt" value=0}
{foreach from=$cross_search item=block name="blockLoop" key=keyName}
{if $block.SINGLE == "1"} {* 単独行の場合 *}
	{if $cnt > 0}</div><!-- b_area_link -->{/if}<div class="b_area_link">
{else}
	{if $cnt == 0}<div class="b_area_link">{/if}
	{if $cnt % 2 == 0}
		<div class="box350 f_l">
	{else}
		<div class="box350 f_r">
	{/if}
{/if}
		{if $block.DATA|@count > 0}
			<div class="hr_l"><h3>{$block.TITLE}</h3></div>
			<p>{$block.TEXT}</p>
			<ul class="list">
			{foreach from=$block.DATA item=crossData name="dataLoop"}
			{if (!$block.MORE_URL) && $block.MORE_NAME && $smarty.foreach.dataLoop.iteration == $block.MORE_CNT}</ul><div class="kodawari_more"><ul class="list kodawari_more_in">{/if}
			{if $crossData.DISP_NAME != ""}
				<li {if (!$block.MORE_URL) && $block.MORE_NAME && $smarty.foreach.dataLoop.index > $block.MORE_CNT}class="staticUrl{$smarty.foreach.blockLoop.index}"{/if} >
				{if $crossData.STATIC_URL != ""}<a href="{$crossData.STATIC_URL}">{$crossData.DISP_NAME}</a>
				{else}<strong>{$crossData.DISP_NAME}</strong>{/if}
				</li>
			{/if}
			{/foreach}
			</ul>
			{if $block.MORE_URL}
			<ul class="f_r"><li><a href="{$block.MORE_URL}">{$block.MORE_NAME}</a></li></ul>
			{elseif $block.MORE_NAME}
			<ul class="f_r" id="kodawari_more_btn"><li><a class="moreUrl{$smarty.foreach.blockLoop.index}" href="javascript:seoKodawariLinkAct({$smarty.foreach.blockLoop.index})">{$block.MORE_NAME}</a></li></ul>
			</div><!-- /kodawari_more -->
			{/if}
		{/if}
{if $block.SINGLE == "1"} {* 単独行の場合 *}
	</div><!-- b_area_link -->
{assign var="cnt" value=0}
{else}
		</div><!-- /box350 -->
		{if $cnt % 2 == 1}<br class="clr" />{/if}
{assign var=cnt value=$cnt+1}
{/if}
{/foreach}
	</div><!-- b_area_link -->
{/if}
